package com.up.api.myimport;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;


@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(MyImportBean.class)
public @interface EnableMongoRepository {
    /**
     * 要扫描的包路径
     * @return
     */
    String[] basePackages() default {};
}
